home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
TK-WP10.ZIP
/
PAGE.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1996-12-12
|
2KB
|
181 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.2O (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
Declare Procedure PROC001()
Declare Procedure PROC002()
;------------------------------------------------------------------------------
GetUser
If (Exist(PPEPath() + "page.cfg")) Goto LABEL001
FCreate 1, PPEPath() + "page.cfg", 1, 0
FPutLn 1, "15"
FPutLn 1, "c:\pcb\ppe\sick\chat\chat.ppe"
FPutLn 1, "-[wizPAGE config]--------------------------------"
FPutLn 1, "line one: the amount of seconds to page"
FPutLn 1, "line two: path to your chat.ppe"
FClose 1
:LABEL001
If (Exist(PPEPath() + "page.log")) Goto LABEL002
FCreate 5, PPEPath() + "page.log", 1, 0
FPutLn 5, "-- wizPAGE log created at " + String(Time()) + " - " + String(Date())
FClose 5
:LABEL002
STRING006 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz!#$%^&*();:,./?><~`-=_+"
DispFile PPEPath() + "page.pcb", 0
AnsiPos 3, 7
Print "@X01enter reason!"
AnsiPos 3, 5
InputStr "_", STRING005, 1, 73, STRING006, 16
If (Len(STRING005) == 0) PROC001()
FCreate 1, PPEPath() + "page.$$$", 1, 0
FPutLn 1, Lower(U_Name())
FPutLn 1, STRING005
FPutLn 1, Lower(String(U_City))
FPutLn 1, "no"
FClose 1
AnsiPos 3, 7
FOpen 1, PPEPath() + "page.cfg", 0, 0
FGet 1, INTEGER001
FGet 1, STRING003
FClose 1
Print "@X01paging sysop with hsc music!. wait for " + String(INTEGER001) + " seconds dude!"
Shell 1, STRING007, PPEPath() + "wizpage.exe", 0
FAppend 1, PPEPath() + "page.log", 1, 0
FPutLn 1, Lower(U_Name()) + " π " + String(Time()) + " π " + String(Date()) + " π " + STRING005
FClose 1
PageOn
U_Cmnt1 = STRING005
U_Cmnt2 = ""
PutUser
STRING004 = ReadLine(PPEPath() + "page.$$$", 4)
If (STRING004 == "yes") PROC002()
DispFile PPEPath() + "page.pcb", 0
AnsiPos 3, 5
Print STRING005
AnsiPos 3, 7
Print "@X01sorry, the sysop is away! .. try again later. "
AnsiPos 1, 9
Wait
End
;------------------------------------------------------------------------------
Procedure PROC002()
Call STRING003
End
EndProc
;------------------------------------------------------------------------------
Procedure PROC001()
Cls
PrintLn "@X09@X08 -- @X09p@X01age reason too small@X08. @X09t@X01ry typing a little more@X08!"
End
EndProc
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 3 End
; 1 Cls
; 1 Wait
; 2 Goto
; 4 Let
; 4 Print
; 1 PrintLn
; 4 If
; 2 DispFile
; 3 FCreate
; 1 FOpen
; 1 FAppend
; 5 FClose
; 2 FGet
; 11 FPutLn
; 1 GetUser
; 1 PutUser
; 1 InputStr
; 1 Shell
; 1 Call
; 6 AnsiPos
; 1 PageOn
; 2 EndProc
;
;
; ■ Functions used :
;
; 22 +
; 2 ==
; 1 Len(
; 3 Lower()
; 2 Date()
; 2 Time()
; 2 U_Name()
; 6 String()
; 11 PPEPath()
; 1 ReadLine()
; 2 Exist()
;
;------------------------------------------------------------------------------
;
; Analysis flags : WSC
;
; W - Write user ■ 5
; Program writes a user record. Although this may be normal for a
; User Editor, it may also be a way to modify an account level.
; ■ Search for : PUTUSER
;
; S - Shell to DOS ■ 5
; This may be normal if the PPE need to execute an external command,
; but may be actually anything... nasty (formating HD, rebooting,...)
; or usefull (sorting, maintenance,...). Check!
; ■ Search for : SHELL
;
; C - Call child PPE ■ 3
; This is usually normal, but may be a tricky way to launch some
; sysop-only commands.
; ■ Search for : CALL
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 0 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------